package aware.login.action;

import com.opensymphony.xwork2.ActionInvocation;

public class LoginAction {
	private String awareUid;
	private String password;
	public String getAwareUid() {
		return awareUid;
	}
	public void setAwareUid(String awareUid) {
		this.awareUid = awareUid;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String view() {
		String s="success";
		return s;
	}
	public String login() {
		String s="success";
		System.out.println("awareUid:"+awareUid+" password:"+password);
		return s;
	}
	public String intercept (ActionInvocation invocation) throws Exception {
		System.out.println("AAAAAAA");
		return invocation.invoke ();
	}

}
